<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>文章列表</title>
<link href="__ADMIN_PUBLIC__css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ADMIN_PUBLIC__/js/jquery.js"></script>

<script type="text/javascript">
$(document).ready(function(){
//$(".click").click(function(){
//$(".tip").fadeIn(200);
//});
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>


</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="{:U('Admin/index/')}">首页</a></li>
    <li><a href="{:U('Admin/category/index/')}">栏目管理</a></li>
    <li><a href="{:U('Admin/content/index/')}">内容管理</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="toolbar">
        <li class="click"><a href="{:U('Admin/content/add')}?cid={$Think.get.cid}"><span><img src="__ADMIN_PUBLIC__images/t01.png" /></span>添加新内容</a></li>
        </ul>
        
        
        <ul class="toolbar1">
      
        </ul>
    
    </div>
    
    
    <table class="tablelist">
    	<thead>
    	<tr>
        <th><input name="" type="checkbox" value="" checked="checked"/></th>
        <th>编号<i class="sort"><img src="__ADMIN_PUBLIC__images/px.gif" /></i></th>
        <th>标题</th>
        <th>用户</th>
        <th>籍贯</th>
        <th>发布时间</th>
        <th>属性</th>
        <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="artList" item="v">
        <tr>
        <td><input name="" type="checkbox" value="" /></td>
        <td>{$v.id}</td>
        <td><a href="__ROOT__/index.php/article/?cid={$v.cid}&aid={$v.id}&mid={$v.amodel_id}" target="_blank">{$v.atitle}</a></td>
        <td>{$v.athum}</td>
        <td>江苏南京</td>
        <td>{$v.aaddtime|date="Y-m-d H:i:s",###}</td>
        <td>
        	<if condition="$v.aattr eq 0">正常状态</if>
        	<if condition="$v.aattr eq 1">[头条]</if>
        	<if condition="$v.aattr eq 2">[推荐]</if>
        	<if condition="$v.aattr eq 3">[幻灯]</if>
        	<if condition="$v.aattr eq 4">[特荐]</if>
        	<if condition="$v.aattr eq 5">[滚动]</if>
        	<if condition="$v.aattr eq 5">[加粗]</if>
        </td>
        <td><a href="__ROOT__/index.php/article/?cid={$v.cid}&aid={$v.id}&mid={$v.amodel_id}" target="_blank" class="tablelink">查看</a>   <a href="{:U('Admin/content/edit')}?cid={$v.cid}&aid={$v.id}" class="tablelink del"> 修改</a>    <a href="{:U('Admin/content/del')}?cid={$v.cid}&aid={$v.id}" class="tablelink del"> 删除</a></td>
        </tr> 
       	</foreach>
              
        </tbody>
    </table>
    
   
    <div class="pagin">
    	
        {$page}
    </div>
    
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="__ADMIN_PUBLIC__images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
    
    
    
    </div>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>

</body>

</html>
